﻿using System;

namespace Me.Practice.ElevatorEngine.Domain.Entity
{
	[Serializable]
    public class Person
	{
		public Person(Init init)
		{
			FirstName = init.FirstName;
			LastName = init.LastName;
			TargetFloorNumber = init.TargetFloorNumber;			
		}
		
		public string FirstName { get; private set; }
		public string LastName { get; private set; }
		public int TargetFloorNumber { get; private set; }

		public class Init 
		{
			public string FirstName { get; set; }
			public string LastName { get; set; }
            public int TargetFloorNumber { get; set; }
		}
	}
}
